<script lang="ts">
import { defineComponent } from 'vue'
import * as paragraph from '../assets/text/lifecycle'
export default defineComponent({
    setup() {
        const img1 = new URL("../assets/img/lifecycle1.jpg", import.meta.url).href;   
        return {
            paragraph,
            img1, 
        }
    },
    data(){
        return {
        }
    },
    methods:{
        
    },
    
    

})
</script>

<template>
    <div class="home-box">
        <my-title :pageTitle="true">exam</my-title>
        <my-title >exam</my-title>
        <my-img :url="img1" w="600px"/>
        
        <my-code-viewer :code="paragraph.code1"></my-code-viewer>
        <my-block>
            {{paragraph.text1}}
        </my-block>
        
    </div>
</template>